﻿@using CodeCamp.Models.Shared
@model CommonViewModel

@{
    ViewBag.Title = "";
    if ((@Model != null) && (@Model.EventDisplayName != null))
    {
        ViewBag.Title = @Html.Encode(@Model.EventDisplayName + " | Email");
    }
    else
    {
        ViewBag.Title = "Code Camp | Email";
    }
}

<h2>Email</h2>

@section sidebar {
    @if (User.IsInRole(CCRoles.RoleNames.BigCheeze))
    {
    <div id="eventTagsContainer" class="widget rounded-10">
    <ul>
        <li>&nbsp;&nbsp;<i>Email Home</i></li>
        <li>@Html.ActionLink("Campaigns", "EmailCampaigns")</li>
        <li>@Html.ActionLink("Recent Emails", "RecentEmails")</li>
        <li>
            Email Tests:
            <ul>
                <li>@Html.ActionLink("Basic Test", "TestBasicMail")</li>
            </ul>
        </li>
    </ul>
    </div>
    }
    @Html.Partial("SidebarCCSwitchPartial", Model)
}
